﻿define('viewModels/customerlist', ['data/customers', 'viewModel', 'system'], function (customers, viewModel, system) {

    function view() {
        var self = this;

        viewModel.addListBehavior(self, customers, customers.ListCustomer);

        self.activate = function (params, bind) {
            this.loadItems(system.noop);
            bind();
        };
    }

    return new view();
});